/**
 * JungoMobileWeb
 * RequestParamUtil.java
 * 
 * Copyright 2013 Teachizen
 * Written by cloudstick
 *	2013. 8. 7. first written.
 *
 * note:
 */
package com.jungo.web.util;

import java.util.Enumeration;

import javax.servlet.http.HttpServletRequest;

import lombok.extern.slf4j.Slf4j;

/**
 * @author cloudstick
 *
 */
@Slf4j
public class RequestParamUtil {

	public void showParameter(HttpServletRequest reqeust) {
		
		log.debug("Request parameters.");
		Enumeration<String> names = reqeust.getParameterNames();
		while(names.hasMoreElements()) {
			String name = names.nextElement();
			log.debug("param name[{}], value[{}]", name, reqeust.getParameter(name));
		}
	}
}
